package com.niuwa.p2p.dao.gift;

import java.util.List;
import java.util.Map;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.gift.PromotionGiftinfo;
@MyBatisDao
public interface PromotionGiftinfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PromotionGiftinfo record);

    int insertSelective(PromotionGiftinfo record);

    PromotionGiftinfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PromotionGiftinfo record);

    int updateByPrimaryKey(PromotionGiftinfo record);
    
    List<PromotionGiftinfo> selectByParam(Map map);
}